package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.pojo.ShopCart;

public interface CartService {

  PageInfo<ShopCart> findByPage(int pageNum,int pageSize);

  int selectAll(int index);

  int selectOne(int index,int id);

  int save(ShopCart shopCart);

  int delete(int id);
}
